<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
  <th:block th:include="include :: header('新增项目成员')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
  <form class="form-horizontal m" id="form-projectUsers-add">
    <div class="form-group">
      <label class="col-sm-3 control-label">主键：</label>
      <div class="col-sm-8">
        <input name="id" class="form-control" type="text">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">用户编号：</label>
      <div class="col-sm-8">
        <input name="userid" class="form-control" type="text">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">账户名：</label>
      <div class="col-sm-8">
        <input name="loginName" class="form-control" type="text">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">用户名：</label>
      <div class="col-sm-8">
        <input name="userName" class="form-control" type="text">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">手机号：</label>
      <div class="col-sm-8">
        <input name="phonenumber" class="form-control" type="text">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">用户头像：</label>
      <div class="col-sm-8">
        <input name="avatar" class="form-control" type="text">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">项目编号：</label>
      <div class="col-sm-8">
        <input name="projectinfoid" class="form-control" type="text">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">项目名：</label>
      <div class="col-sm-8">
        <input name="projectinfoname" class="form-control" type="text">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">岗位描述：</label>
      <div class="col-sm-8">
        <input name="postsdesc" class="form-control" type="text">
      </div>
    </div>
  </form>
</div>
<th:block th:include="include :: footer"/>
<script type="text/javascript">
  var prefix = ctx + "project/projectUsers"
  $("#form-projectUsers-add").validate({
    focusCleanup: true
  });

  function submitHandler() {
    if ($.validate.form()) {
      $.operate.save(prefix + "/add", $('#form-projectUsers-add').serialize());
    }
  }
</script>
</body>
</html>
